package com.wanmait.wisdom.manage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Building;
import com.wanmait.wisdom.entity.Car;
import com.wanmait.wisdom.manage.service.ManageCarService;
import com.wanmait.wisdom.mapper.BuildingMapper;
import com.wanmait.wisdom.mapper.CarMapper;
import com.wanmait.wisdom.util.AjaxResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class ManageCarServiceImpl extends ServiceImpl<CarMapper, Car> implements ManageCarService {
    @Resource
    private CarMapper carMapper;

    @Override
    public Long getCarCount() {
        return carMapper.selectCount(null);
    }

}
